package decorate;

/**
 * @author wcj
 * @Date 2021/6/21 21:01
 * @Version 1.0
 */
public abstract class AbstractDecorator implements Shape {

 public Shape shape;

 public AbstractDecorator(Shape shape) {
  this.shape = shape;
 }

 @Override
 public void draw() {
  shape.draw();
 }
}
